<wxs src="../../utils/common.wxs" module="filter" />
<view id='type' > 
    {{filter.fitType1(goodsList.status)}}
</view>
<view id='address'  bindtap='chooseAddress'> 
   <image class='image1' src="../../image/position_gray_icon.png" />
   <view class='msg1'>{{goodsList.name}}  {{goodsList.phone}}</view>
   <view class='msg2'>{{goodsList.province}}{{goodsList.city}}{{goodsList.area}}{{goodsList.address}}</view>
   <image class='image2' src="../../image/mine/jrxq.png" />
</view>

<!-- <view id='address' wx:else bindtap='chooseAddress'> 
   <image class='image3' src="../../image/position_gray_icon.png" />
   <view class='msg3'>添加收货地址</view>
   
   <image class='image2' src="../../image/mine/jrxq.png" />
</view> -->

<view class='shopMarket'>
	 <view class='marketItem' wx:for='{{goodsList.supplierCartVos}}' wx:for-item="company">
	 	 <view class='line'></view>
         <view class='company'>
         	{{company.companyName}}
         </view>
        
	 	
	 	<view  class='goodsItem' wx:for='{{company.supplierCartParts}}' wx:for-item="item">
	 		
             <image class='goodsImg'    src="{{item.pic}}" />
	 		 <view class='name'>{{item.name}}</view> 
       <view class='name1' wx:if='{{item.normsname}}'>{{item.normsname}}</view>
	 		 <view class='activity' wx:if='{{item.activity}}'>{{item.activity}}</view>
             <view class='money'>¥<label>{{filter.fitPrice(item.amount)}}</label></view>
	 		 <view class='sub_add'>
                	
                	<label>x{{item.num}}</label>
                	
             </view> 
	 	</view>
	 </view>
	 <!-- . -->
	   <view class='item-1'>配送方式 <label>  普通配送  配送费：{{filter.fitPrice(goodsList.freightAmount)}}元<text wx-if='{{goodsList.freightAmount==0}}'></text></label></view>
        <view class='item-1'>订单备注 
        <input type="" disabled name="" bindinput='textContentSeller' data-compony='{{company.merchantId}}' value='{{goodsList.remark||"无"}}'/>
        </view>
        <view class='item-2'>共计{{goodsList.num}}件 <label>小计: <label>¥{{filter.fitPrice(goodsList.countAmount)}}</label></label></view>
        <view class='item-2'> 已优惠:-¥{{filter.fitPrice(goodsList.couponAmt+goodsList.preferentialAmount)}}</view>
</view>
<!-- <view>配送方式 </view>
<view>订单备注 </view> -->
<view class='noteList'>
	<view>订单号:<label>{{goodsList.orderCode}}</label></view>
	<view>下单时间:<label>{{goodsList.created}}</label></view>
	<view>支付方式:<label>微信支付</label></view>
	<view>支付时间:<label>{{goodsList.updated}}</label></view>
</view>
<view class='noteList1'>
	<view>配件总额<label>￥{{filter.fitPrice(goodsList.allAmount)}}</label></view>
	<view>运费金额<label>￥{{filter.fitPrice(goodsList.freightAmount)}}</label></view>
  <view>活动优惠<label style="color: #FF3D10;">-￥{{filter.fitPrice(goodsList.preferentialAmount)}}</label></view>
	<view>优惠券<label style="color: #FF3D10;">-￥{{filter.fitPrice(goodsList.couponAmt)}}</label> 
  </view>
	<view><label>实付款:<label >￥{{filter.fitPrice(goodsList.countAmount)}}</label></label></view>
</view>
<view  style='width: 750rpx;height: 116rpx;'></view>
<view class='bottom'>

	 <view class='kefu' bindtap='callPhone'>
             <image  src="../../image/shopMarket/customer_service.png" />
             <label>客服</label>
     </view>
    <view  class='subButton1'  wx:if='{{goodsList.status==1}}' bindtap='creatOrder3'>取消支付</view>	
	  <view  class='subButton'   wx:if='{{goodsList.status==1}}' bindtap='creatOrder2'>去付款</view>
    <view  class='subButton'   wx:if='{{goodsList.status==3}}' bindtap='creatOrder4'>确认收货</view>
</view>
